package com.lfc.flowable.domian.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 工作流任务相关-返回参数
 *
 * @author Tony
 * @date 2021-04-03
 */
@Getter
@Setter
public class FlowTaskDto implements Serializable {

    private String taskId;

    private String executionId;

    private String taskName;

    private String taskDefKey;

    private Long assigneeId;

    private String deptName;

    private String startDeptName;

    private String assigneeName;

    private String assigneeDeptName;;

    private String startUserId;

    private String startUserName;

    private String category;

    private Object variables;

    private Object taskLocalVars;

    private String deployId;

    private String procDefId;

    private String procDefKey;

    private String procDefName;

    private int procDefVersion;

    private String procInsId;

    private String hisProcInsId;

    private String duration;

    private FlowCommentDto comment;

    private String candidate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

}
